
<%
	if(session.getAttribute("user")==null){
		response.sendRedirect("LoadIndex.jsp");
	}
%>
<%@ include file="sites/ad_header.jsp" %>

			<div class="r-body">
				<div class="page-title">
					<p>Update Author Information</p>
				</div>
				
				<div class="frm-action">
					<form action="#" method="post" name="frm_action">
					<table border="0" cellpadding="7">
						<tbody>
							<tr>
								<td>Author ID</td>
								<td>:<input type="text" name="author_id" class="author-id" required="required"/></td>
								<td>Telephone</td>
								<td>:<input type="text" name="author_tel" class="author-tel" required="required"/></td>
							</tr>
							<tr>
								<td>Author Name</td>
								<td>:<input type="text" name="author_name" class="author-name" required="required"/></td>
								<td>Address</td>
								<td>:<input type="text" name="address" class="address" required="required"/></td>
							</tr>
							<tr>
								<td>Date of Birth</td>
								<td>:<input type="text" name="" class="" required="required"/></td>
								<td>Password</td>
								<td>:<input type="text" name="" class="" required="required"/></td>
							</tr>
							<tr>
								<td></td>
								<td></td>
								<td></td>
								<td><input type="button" value="Update" name="update_author" class="update-author"/></td>
							</tr>
						</tbody>
					</table>
					
					<div class="reset-password">
							<input type="button" value="RESET PASSWORD" class="reset-password" style="width:200px;height:30px;" />
							<table border="0" cellpadding="7" class="tb-reset-password" style="border:1px solid #005C99;padding:10px;">
								<tr>
									<td class="td-center">Old Password</td>
									<td class="td-center">New Password</td>
									<td class="td-center">Confirm Password</td>
									<td></td>
								</tr>
								<tr>
									<td class="td-center"><input type="text" name="old_pass" class="old-pass" value="" required="required"/></td>
									<td class="td-center"><input type="text" name="new_pass" class="new-pass" required="required"/></td>
									<td class="td-center"><input type="text" name="conf_pass" class="conf-pass" required="required"/></td>
									<td><input type="button" value="Change" name="change" class="change"/></td>
								</tr>
							</table>
					</div>
					</form>
				</div>
				
				
		
			</div><!-- end body -->
		</div><!-- end header -->
	</div><!-- end r-main -->
	<style type="text/css">
		.tb-reset-password{display:none;}
	</style>
	<script type="text/javascript">
		$(function(){	
			$(".reset-password").click(function(){
				//$(".tb-reset-password").slideToggle("slow");
				$(".tb-reset-password").fadeToggle();
			});
		});
	</script>
</body>
</html>